#[cfg(test)]
pub mod test_iflet {
    use super::iflet;

    #[test]
    fn tiflet() {
        iflet();
    }
}
pub fn iflet() {
    /* if let 
    */
    println!(" --------- if let  ------------- ");
    let v = Some(5);
    match v {
        Some(3) => println!("match: v is 3"),
        _ => println!("match: v is others"),
    }

    if let Some(3) = v {
        println!("if let: v is 3");
    } else {
        println!("if let: v is others");
    }
}